package com.tyk.bookstore.front.member.model.vo;

import com.tyk.bookstore.front.common.core.model.vo.PageVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

public class DeliveryAddressPageVo extends PageVo<DeliveryAddressPageVo.DeliveryAddress> {
    @Data
    public static class DeliveryAddress {
        @Schema(description = "ID")
        private Long id;
        @Schema(description = "用户ID")
        private Long memberId;
        @Schema(description = "名称")
        private String name;
        @Schema(description = "收件人姓名")
        private String consignee;
        @Schema(description = "所在地区code")
        private Long areaCode;
        @Schema(description = "详细地址")
        private String address;
        @Schema(description = "手机号")
        private String phone;
        @Schema(description = "是否默认")
        private Boolean defaulted;
    }
}
